<template>
    <!-- 首页 -->
    <!-- main-area -->
    <main>

<!-- slider-area -->
<slider_area></slider_area>
<!-- slider-area-end -->

  <!-- category-area -->
<category_area></category_area>
    <!-- category-area-end -->
<!-- discount-area -->
<discount_area></discount_area>
<!-- discount-area-end -->

<!-- best-deal-area -->
<best_deal_area></best_deal_area>
<!-- best-deal-area-end -->

<!-- special-products-area -->
<special_products_area></special_products_area>
<!-- special-products-area-end -->

<!-- coupon-area -->
<coupon_area></coupon_area>
<!-- coupon-area-end -->

<!-- best-sellers-area -->
<best_sellers_area></best_sellers_area>
<!-- best-sellers-area-end -->

<!-- discount-area -->
<discount2_area></discount2_area>
<!-- discount-area-end -->

</main>
<!-- main-area-end -->

</template>

<script>
import slider_area from '../components/homepage/slider-area'
import category_area from '../components/homepage/category-area'
import discount_area from '../components/homepage/discount-area'
import best_deal_area from '../components/homepage/best-deal-area'
import special_products_area from '../components/homepage/special-products-area'
import coupon_area from '../components/homepage/coupon-area'
import best_sellers_area from '../components/homepage/best-sellers-area'
import discount2_area from '../components/homepage/discount2-area'

export default {
    name:'homepage',
    data() {
        return {
            
        }
    },
    created() {
        // console.log('rrr');
        // console.log('初始化')
        this.$store.commit('temporary/setpagemark','/')
    },
    components:{
        slider_area,
        category_area,
        discount_area,
        best_deal_area,
        special_products_area,
        coupon_area,
        best_sellers_area,
        discount2_area
    }
}
</script>

<style>

</style>